package com.onlinesys.service;

import java.sql.SQLException;
import java.util.List;

import com.onlinesys.beans.ProductProcess;

public interface ProductReprocessHistoryService {
	public int getProductReprocessTotalCount() throws SQLException;

	public List<ProductProcess> getProductReprocesses(int startRow, int pageSize)
			throws SQLException;

	public List<ProductProcess> searchProductReprocesses(int startRow,
			int pageSize, ProductProcess pd) throws SQLException;

	public int searchProductReprocessTotalCount(ProductProcess pd)
			throws SQLException;
	
	public ProductProcess getReprocessById(String id)
			throws SQLException;

	public void updateProductReprocess(ProductProcess ps, String type,
			String newDrawingNum, int newQuantity, int newProductCount,
			int newDiscardCount, int newMissedCount) throws SQLException; 
}
